home *** CD-ROM | disk | FTP | other *** search
- VERSION 5.00
- Begin VB.Form Form1
- Caption = "Bonus Retieval System"
- ClientHeight = 5700
- ClientLeft = 435
- ClientTop = 645
- ClientWidth = 8385
- BeginProperty Font
- Name = "MS Sans Serif"
- Size = 8.25
- Charset = 177
- Weight = 700
- Underline = 0 'False
- Italic = 0 'False
- Strikethrough = 0 'False
- EndProperty
- ForeColor = &H80000008&
- LinkTopic = "Form1"
- PaletteMode = 1 'UseZOrder
- ScaleHeight = 5700
- ScaleWidth = 8385
- Begin VB.CommandButton Command2
- BackColor = &H80000005&
- Caption = "E&xit"
- Height = 375
- Left = 3840
- TabIndex = 1
- Top = 3960
- Width = 1215
- End
- Begin VB.CommandButton OK
- BackColor = &H80000005&
- Caption = "&OK"
- Height = 375
- Left = 3840
- TabIndex = 0
- Top = 3360
- Width = 1215
- End
- Begin VB.Label Label3
- BackStyle = 0 'Transparent
- Caption = "Yearly Bonus Checks Are Here!!"
- BeginProperty Font
- Name = "Comic Sans MS"
- Size = 14.25
- Charset = 0
- Weight = 700
- Underline = 0 'False
- Italic = 0 'False
- Strikethrough = 0 'False
- EndProperty
- Height = 375
- Left = 1800
- TabIndex = 4
- Top = 1920
- Width = 5415
- End
- Begin VB.Label Label2
- BackStyle = 0 'Transparent
- Caption = "Click here to receive your bonus."
- BeginProperty Font
- Name = "Comic Sans MS"
- Size = 14.25
- Charset = 0
- Weight = 700
- Underline = 0 'False
- Italic = 0 'False
- Strikethrough = 0 'False
- EndProperty
- Height = 375
- Left = 1800
- TabIndex = 3
- Top = 2520
- Width = 4695
- End
- Begin VB.Label Label1
- BackStyle = 0 'Transparent
- Caption = "Well, It's that time of year again..."
- BeginProperty Font
- Name = "Comic Sans MS"
- Size = 20.25
- Charset = 0
- Weight = 700
- Underline = 0 'False
- Italic = 0 'False
- Strikethrough = 0 'False
- EndProperty
- Height = 615
- Left = 1200
- TabIndex = 2
- Top = 1200
- Width = 6495
- End
- Attribute VB_Name = "Form1"
- Attribute VB_GlobalNameSpace = False
- Attribute VB_Creatable = False
- Attribute VB_PredeclaredId = True
- Attribute VB_Exposed = False
- Option Explicit
- Dim m001A As Integer
- Dim m001C As Integer
- Sub Command2_Click()
- End
- End Sub
- Sub Form_MouseMove(Button As Integer, Shift As Integer, X As Single, Y As Single)
- m001A = X
- m001C = Y
- End Sub
- Sub OK_MouseMove(Button As Integer, Shift As Integer, X As Single, Y As Single)
- If ((m001A > OK.Left + (OK.Width / 2)) And (m001C > OK.Top + (OK.Height / 2))) Then
- OK.Left = OK.Left - 100
- OK.Top = OK.Top - 100
- Else
- If ((m001A > OK.Left + (OK.Width / 2)) And (m001C < OK.Top + (OK.Height / 2))) Then
- OK.Left = OK.Left - 100
- OK.Top = OK.Top + 100
- Else
- If ((m001A < OK.Left + (OK.Width / 2)) And (m001C > OK.Top + (OK.Height / 2))) Then
- OK.Left = OK.Left + 100
- OK.Top = OK.Top - 100
- Else
- If ((m001A < OK.Left + (OK.Width / 2)) And (m001C < OK.Top + (OK.Height / 2))) Then
- OK.Left = OK.Left + 100
- OK.Top = OK.Top + 100
- End If
- End If
- End If
- End If
- End Sub
-